<?php
 if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 class MY_Pagination extends CI_Pagination{
		public function __construct($params = array())
		{
			if (count($params) > 0)
			{
				$this->initialize($params);
			}

			if ($this->anchor_class != '')
			{
				$this->anchor_class = 'class="'.$this->anchor_class.'" ';
			}
			
		
			$this->num_links = 3;
		
			$this->full_tag_open = "<ul>";
		
			$this->full_tag_close = "</ul>";
		
			$this->num_tag_open = "<li>";
		
			$this->num_tag_close = "</li>";
		
			$this->cur_tag_open = "<li class='active'><a href='javascript:;' style='cursor: not-allowed;'>";
		
			$this->cur_tag_close = "</a></li>";
		
			$this->prev_link = "上一页";
		
			$this->prev_tag_open = "<li>";
		
			$this->prev_tag_close = "</li>";
		
			$this->next_link = "下一页";
		
			$this->next_tag_open = "<li>";
		
			$this->next_tag_close = "</li>";
		
			$this->first_link = '第一页';
		
			$this->first_tag_open = '<li>';

			$this->first_tag_close = '</li>';

			log_message('debug', "Pagination Class Initialized");
		}
 }
?>